package g4h.android.monterhunt;

import java.util.ArrayList;
import java.util.List;

import android.graphics.drawable.Drawable;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.ItemizedOverlay;
import com.google.android.maps.OverlayItem;

public class Monsters extends ItemizedOverlay {

	private List<OverlayItem> monsterLocs = new ArrayList<OverlayItem>();
	private Drawable marker;
	
	public Monsters(Drawable defaultMarker) {
		super(defaultMarker);
		this.marker = defaultMarker;
		
//		40.007284424999995
//		-105.26178
//		127.0m

		GeoPoint eyeLocation = new GeoPoint((int)(40.00728442499995*1000000), (int)(-105.26178*1000000));
		monsterLocs.add(new OverlayItem(eyeLocation, "Floating Eye of Doom", "Floating Eye of Doom"));
		
		populate();
	}

	@Override
	protected OverlayItem createItem(int i) {
		// TODO Auto-generated method stub
		return monsterLocs.get(i);
	}

	@Override
	public int size() {
		// TODO Auto-generated method stub
		return monsterLocs.size();
	}

}
